<?php
    /********************************************/
    /*	Fichier de configurations       		*/
    /*											*/
    /*	@Property								*/
    /*	@version	1.0							*/
    /*	@date		05/2013						*/
    /*	@access		public						*/
    /*											*/
    /********************************************/

    function includeJavascript()
    {
        // Inclusion, tout d'abord, de la librairie jQuery !
        echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>';
        //echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.js"></script>';
        
        $directory = opendir(PATH_JS);

        while($file = @readdir($directory))
        {
            if( !is_dir($directory.'/'.$file) && $file != '.' && $file != '..')
            {
                    echo '<script type="text/javascript" src="' . PATH_JS . $file . '"></script>';
            }
        }

        closedir($directory);
    }
?>